package com.insigma.yanwenlong.bookkeeping.service;

import java.sql.SQLException;
import java.util.List;

import com.insigma.yanwenlong.bookkeeping.dao.LoginDao;
import com.insigma.yanwenlong.bookkeeping.dao.LoginDaoImpl;
import com.insigma.yanwenlong.bookkeeping.pojo.Login;

public class LoginServiceImpl implements LoginService{
	private LoginDao loginDao = new LoginDaoImpl();
	@Override
	public List<Login> findLoginAccounts() throws SQLException {
		return loginDao.findLoginAccounts();
	}
	@Override
	public int UpdatePsd(Login login) throws SQLException {
		return loginDao.UpdatePsd(login);
	}

}
